package com.dgcsxy.cat_eyes_movies.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author rokies
 * @DATE 2022/6/16 16:12
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Movies {
    @TableId
    private int movieId;
    private String movieName;
    private String moviePicture;
    private String movieMainPerson;
    private String movieScore;
    private String movieType;
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date movieShowDate;
    private String movieDuration;
}
